/*
 * @Author: 严晗 823841034@qq.com
 * @Date: 2024-02-27 22:13:50
 * @LastEditors: 严晗 823841034@qq.com
 * @LastEditTime: 2024-02-28 09:04:51
 * @FilePath: /yike-admin/Users/yanhan/vite-project/src/api/public.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// 公共接口配置
import axios from '~/axios'

// 导出接口，传递请求的url和参数
export const exportExcel = (url, params) => {
	return axios.request({
		url: url,
		method: 'get',
		responseType: 'blob',
		params: params,
	})
}
